package com.lswms.modules.lswms.service.task;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lswms.common.page.PageData;
import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.task.TaskDTO;
import com.lswms.modules.lswms.entity.receipt.ReceiptEntity;
import com.lswms.modules.lswms.entity.task.TaskEntity;

/**
 * 任务
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-06-22
 */
public interface TaskService extends CrudService<TaskEntity, TaskDTO> {

	String done(List<TaskEntity> list);

	String valideMove(TaskEntity taskEntity);

	String move(TaskEntity taskEntity, String remoteAddr);

	List<Map<String, Object>> getStatusList();

	PageData<TaskEntity> pageBySql(Map<String, Object> params);

	List<Map<String, Object>> getLocationUse();

	Map<String, BigDecimal> getSkuCount();

	List<Map<String, Object>> getDDJStatus();

	Map<String , Object> getLast7Days();

	Map<String, Object> getLast30Days();

	Map<String, Object> getLastYear();

	List<Map<String, Object>> getInventorAlarm();

	List<Map<String, Object>> getTodayTaskInfo();

	IPage<TaskEntity> getTodayTaskInfo2(Map<String, Object> params);

	Integer getSkuSum();

	BigDecimal getWeigth();

	Integer getlocateCount();

	Integer getlocateSY();
}
